#ifndef __UI_CHANGEWAVE_H__
#define __UI_CHANGEWAVE_H__

#include "../UIBase/QCDialog.h"

#include <QComboBox>
#include <QRadioButton>
#include <QCheckBox>

class UIChangeWave : public QCDialog
{
	Q_OBJECT
public:
	UIChangeWave(QWidget* parent = NULL);
	~UIChangeWave();

	void initContent();
	virtual void setQCGeometry(int x, int y, int w, int h);

	virtual void onApply();
	virtual void onOK();
	virtual void onCancel();

public slots:
void onLimeLeadsChecked();
void onChestLeadsChecked();

void onRadioChangedArmsClicked();
void onRadioChangedArmFootClicked();

void onReload();

private:
	void onWaveChanged(int index1, int index2);

	void setControlsEnablity();

private:
	bool m_bValueChanged;
	int m_nIndexLeft;
	int m_nIndexRight;

private:
	QCheckBox* m_pCheckChangeLimeLeads;
	QRadioButton* m_pRadioChangeArms;
	QRadioButton* m_pRadioChangeArmFoot;

	QCheckBox* m_pCheckChangeChestLeads;
	QComboBox* m_pComboLeft;
	QComboBox* m_pComboRight;
	QLabel* m_pLabelChanged;

	QPushButton* m_pBtnReload;
	QLabel* m_pLabelReload;
};

#endif //!__UI_CHANGEWAVE_H__
